Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation regarding best-effort-atomic-scale-up ProvReq class #7104

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

yaroslava-serdiuk
Copy link
Contributor

What type of PR is this?

/kind documentation

#6815

@k8s-ci-robot k8s-ci-robot added kind/documentation Categorizes issue or PR as related to documentation. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 1, 2024
@k8s-ci-robot k8s-ci-robot requested review from feiskyer and x13n August 1, 2024 12:13
@k8s-ci-robot k8s-ci-robot added area/cluster-autoscaler size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 1, 2024
@yaroslava-serdiuk yaroslava-serdiuk force-pushed the provreq-faq branch 3 times, most recently from f1b25ff to 61d17f0 Compare August 1, 2024 12:16
@kisieland
Copy link
Contributor

/lgmt

@yaroslava-serdiuk
Copy link
Contributor Author

* __Reservation from other ProvReqs (if scale up request succeeded)__: Reserves this capacity for the ProvisioningRequest for 10 minutes, preventing other ProvReqs from using it.

* __Condition Updates__:
Adds a Accepted=True condition when ProvReq is accepted by ClusterAutoscaler.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, just a small nit, can we mention these conditions in a numbered list, because currently it is showing in a paragraph?

Copy link
Contributor

@Shubham82 Shubham82 Aug 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something like this:

  1. Add a Accepted=True condition when ProvReq is accepted by ClusterAutoscaler.
  2. Add a Provisioned=True condition to the ProvReq if the node group scale up request is successful.
  3. Add a BookingExpired=True condition when the 10-minute reservation period expires.

@yaroslava-serdiuk, WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, thanks! Markdown adds a, b, c instead of numbers, so I added bullet points instead.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Markdown adds a, b, c instead of numbers, so I added bullet points instead.

@yaroslava-serdiuk, The changes look good to me.

@yaroslava-serdiuk yaroslava-serdiuk force-pushed the provreq-faq branch 4 times, most recently from 0fa761e to f9bedeb Compare August 15, 2024 11:36
@Shubham82
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 16, 2024
@yaroslava-serdiuk
Copy link
Contributor Author

/cc @towca

@k8s-ci-robot k8s-ci-robot requested a review from towca August 19, 2024 11:13
cluster-autoscaler/FAQ.md Outdated Show resolved Hide resolved
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 21, 2024
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 5, 2024
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 5, 2024
cluster-autoscaler/FAQ.md Outdated Show resolved Hide resolved
@towca
Copy link
Collaborator

towca commented Sep 11, 2024

/lgtm
/approve
/hold

Feel free to unhold if you don't want to address the nit.

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 11, 2024
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 11, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: towca, yaroslava-serdiuk

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 11, 2024
cluster-autoscaler/FAQ.md Outdated Show resolved Hide resolved
cluster-autoscaler/FAQ.md Outdated Show resolved Hide resolved
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 11, 2024
@yaroslava-serdiuk
Copy link
Contributor Author

/unhold

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 11, 2024
@towca
Copy link
Collaborator

towca commented Sep 11, 2024

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 11, 2024
@k8s-ci-robot k8s-ci-robot merged commit d22b678 into kubernetes:master Sep 11, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/cluster-autoscaler cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/documentation Categorizes issue or PR as related to documentation. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants